<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>我的地址</title>
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/address.css">
</head>

<body>
  <div class="container">
    <div class="header">
      <div class="lt" onclick="javascript:history.go(-1)">&lt;</div>
      <div class="ct">我的地址</div>
      <div class="rt"></div>
    </div>
    <div class="address-list" id="address-list">
     
    </div>
    <div class="empty-view">
      <img class="icon"
        src="http://yanxuan.nosdn.127.net/hxm/yanxuan-wap/p/20161201/style/img/icon-normal/noAddress-26d570cefa.png" />
      <span class="text">收货地址在哪里</span>
    </div>
    <div class="add-address">
      <a href="addressAdd.html" style="display: block;">新建</a>
    </div>
  </div>
</body>
<script type="text/html" id="tpl-adlist">

  {{each data}}
  <div class="item">
    <div class="l">
      <div class="name">{{$value.name}}</div>
      <div class="default">默认</div>
    </div>
    <div class="c">
      <div class="mobile">{{$value.mobile}}</div>
      <div class="address">{{$value.full_region}} {{$value.address}} </div>
    </div>
    <div class="r">
      <button class="del">删除</button>
      <button class="edit">修改</button>
    </div>
  </div>
  {{/each}}
</script>
<script src="https://cdn.staticfile.org/jquery/3.3.0/jquery.min.js"></script>
<script src="./js/template-web.js"></script>
<script src="./js/address.js"></script>
 
</html>